package com.erpoa.service;

import com.erpoa.entity.PackMessage;

/**
 * @author chenjimin
 * @Title: FactoryUtilService
 * @ProjectName oaerp
 * @Description: TODO
 * @date 2020/9/2116:36
 */
public interface FactoryUtilService {
    /**
     * @param jobnum
     * @return
     */
    boolean checkUserValid(String jobnum);

    /**
     * @param packMessage
     * @return
     */
    int getBarCodeTotalNum(PackMessage packMessage);


    /**
     * @param packMessage
     * @return
     */
    boolean checkUserAndBarcode(PackMessage packMessage, boolean isRefillTwo);

    /**
     * @param barcode
     * @return
     */
    boolean checkBarcode(String barcode);

    /**
     * @param jobnum
     * @param barcode
     * @return
     */
    boolean checkUserBelongApartment(String jobnum, String barcode);


    /**
     * @param packMessage
     * @return
     */
    String checkScheduleUnqtyAndStatus(PackMessage packMessage);

    /**
     * @param barcode
     * @return
     */
    boolean isNormalOrder(String barcode);

    /**
     * @param mLOrderNo
     * @return
     */
    int checkErpEnd(String mLOrderNo);
}
